package com.example.dao;

import com.example.bean.Role;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by lianlei on 2017/1/16.
 */
public interface RoleDao extends JpaRepository<Role , Integer> {
    Role findOneByRolename(String rolename);
}
